package cn.smile.bean.dto.core;

import cn.smile.bean.entity.core.RoleInfo;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.util.List;

/**
 * @author smile-jt
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class RoleInfoDTO extends RoleInfo {
    @Serial
    private static final long serialVersionUID = -8719029243589006309L;

    /**
     * 用户集合
     */
    private List<SysUserDTO> userList;

    /**
     * 角色拥有资源Code集合
     */
    private List<String> resCodeList;
}
